Publish Task (Deprecated) |
SOAP Request
This Web service operation is used to publish a task to run time task repository.
<PublishTask xmlns="http://schemas.cordys.com/task/1.0/designtime/">
<tuple>
<new>
<Task id="GUID of task " name="name of task" type="UI_TASK" xmlns="http://schemas.cordys.com/task/1.0/">
<Description>description about the task</Description>
<Properties>
<!-- Contains name-value pairs describing the properties of a task -->
<Property name="showOnStartPage" value="true"/>
</Properties>
<Input>
<!-- The input required for execution of task.
e.g.: The <data/> required for launching an application -->
</Input>
<Output>
<!-- The output generated by execution of task -->
</Output>
<LaunchingInfo>
<!-- The information required for launching of a task -->
<Application display="visible">
<url>Url of the application</url>
<caption>Caption</caption>
<icon>url of the icon</icon>
<frame
features="dialogWidth:700px;dialogHeight:500px;center:yes"
height="%/px" left="%/px" top="%/px" width="%/px">main</frame>
</Application>
</LaunchingInfo>
<TaskParts>
<TaskPart id="id of taskpart" name="name of task part">
<Description>taskpart description</Description>
</TaskPart>
<TaskPart id="id of taskpart" name="name of task part">
<Description>taskpart description</Description>
</TaskPart>
</TaskParts>
<RelatedTasks>
<Task id="unique id of the task" name="name of task"/>
<Task id="unique id of the task" name="name of task"/>
</RelatedTasks>
<ACL>
<ACObjectTree context="http://schemas.cordys.com/1.0/ldap"/>
</ACL>
</Task>
</new>
</tuple>
</PublishTask>
Request Parameters
Parameter |
Description |
Data Type |
Accepted Input Values |
|---|---|---|---|
TaskPart |
An activity that is part of the Task. |
|
|
ACL |
Contains ACL ObjectTree which defines the security settings for a task. |
|
context: Specifies the namespace for which these security settings are applicable. This is an optional attribute. |
SOAP Response
<PublishTaskResponse xmlns="http://schemas.cordys.com/task/1.0/designtime/">
<tuple>
<old>
<Task id="GUID of task" name="name of task" type="UI_TASK" xmlns="http://schemas.cordys.com/task/1.0/">.....</Task>
</old>
</tuple>
</PublishTaskResponse>
Response Parameters
Parameter |
Description |
|---|---|
Task |
Provides the task details on the basis of input values. |